<template>
	
	<view>
	<u-notice-bar mode="horizontal" :list="list"></u-notice-bar>
	<u-swiper :list="img"></u-swiper>
			
		<zy-grid :grid-list=gridList :show-tip="true" :col="4"></zy-grid>
	</view>
</template>

<script>
	import zyGrid from '../../components/zy-grid/zy-grid.vue'
	export default {
		components:{
			zyGrid
		},
		data () {
			return {
				list: [
									'寒雨连江夜入吴',
									'平明送客楚山孤',
									'洛阳亲友如相问',
									'一片冰心在玉壶'
								],
								
							img: [{
													image: 'https://cdn.uviewui.com/uview/swiper/1.jpg',
													title: '昨夜星辰昨夜风，画楼西畔桂堂东'
												},
												{
													image: 'https://cdn.uviewui.com/uview/swiper/2.jpg',
													title: '身无彩凤双飞翼，心有灵犀一点通'
												},
												{
													image: 'https://cdn.uviewui.com/uview/swiper/3.jpg',
													title: '谁念西风独自凉，萧萧黄叶闭疏窗，沉思往事立残阳'
												}
											],
				gridList: [	//格子数据列表
					{
						name: '成交统计',
						imgUrl: '../../static/zy-grid/grid-01.svg',
						tips: 19,
						url:'/pages/deal/deal'
					},
					{
						name: '成交统计管理',
						imgUrl: '../../static/zy-grid/grid-02.svg',
						tips: '',
						url:'/pages/administration/administration'
					},
					{
						name: '报表查看',
						imgUrl: '../../static/zy-grid/grid-03.svg',
						tips: '',
						url:'/pages/report_view/report_view'
					},
					{
						name: '测试图标',
						imgUrl: '../../static/zy-grid/grid-04.svg',
						tips: ''
					},
					{
						name: '测试图标',
						imgUrl: '../../static/zy-grid/grid-05.svg',
						tips: ''
					},
					{
						name: '测试图标',
						imgUrl: '../../static/zy-grid/grid-06.svg',
						tips: ''
					},
					{
						name: '测试图标',
						imgUrl: '../../static/zy-grid/grid-07.svg',
						tips: ''
					},
					{
						name: '测试图标',
						imgUrl: '../../static/zy-grid/grid-08.svg',
						tips: ''
					},
					{
						name: '测试图标',
						imgUrl: '../../static/zy-grid/grid-09.svg',
						tips: ''
					},
					{
						name: '测试图标',
						imgUrl: '../../static/zy-grid/grid-10.svg',
						tips: ''
					},
					{
						name: '测试图标',
						imgUrl: '../../static/zy-grid/grid-11.svg',
						tips: ''
					},
					{
						name: '测试图标',
						imgUrl: '../../static/zy-grid/grid-12.svg',
						tips: ''
					}
				]
			}
		
		}
	}

</script>

<style>
	
</style>
